package models

type User struct {
	Id   int    `json:"id" orm:"column(id)"`
	Name string `json:"name" orm:"column(name)"`
}

//自定义映射表名
func (u *User) TableName() string {
	return "user"
}
